package edu.sctu.practice.class02.lvchang.assign03.test2;

/**
 * Created by Administrator on 2015/10/23.
 */
public class Cylinder extends Circle {

    protected double h;

    public Cylinder(double r, double h) {
        super(r);
        this.h = h;
    }

    public double findArea() {
        return 2 * Math.PI * r * (r + h);
    }

}
